// 存储出库的状态筛选和关键字搜索
import consts from "@/utils/consts";
const state = {
    outStockState: 0,
    outStockKeywords: '',
};

const getters = {
    outStockState: (state) => state.outStockState || consts.allState,
    outStockKeywords: (state) => state.outStockKeywords,
}

const actions = {

}

const mutations = {
    setOutStockState: (state, status) => state.outStockState = status,
    setOutStockKeywords: (state, keywords) => state.outStockKeywords = keywords,
}

export default {
    state,
    getters,
    actions,
    mutations
}